<?php
/**
 * Created by: shauan.
 * Date: 17/08/14 - 22:57
 */

namespace src;

use vendor\pegasus\Controller;

class AppController extends Controller {

	public function beforeFilter(){
		$session = $this->Session->is('AUTHE.USER_ID');
		if(!$session){
			$this->redirect(['url'=>$this->getUrl()]);
		}
	}
} 